<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    tools:context=".view.DatePickerFragment">

    <DatePicker
        android:id="@+id/datePicker"
        style="@style/StylePicker"
        android:calendarViewShown="false"
        android:datePickerMode="spinner" />
</LinearLayout>